package com.example.shop.merchant.service;

import com.example.shop.common.api.ServiceReturn;
import com.example.shop.merchant.dto.RegisterParam;
import com.example.shop.pojo.Merchant;

public interface MerchantService {


    ServiceReturn<Boolean> checkRegisterParam(RegisterParam registerParam);

    ServiceReturn<Boolean> register(RegisterParam registerParam);

    ServiceReturn<Merchant> login(String account, String password);

    void loginOut(Merchant merchant);

    //商家基础信息的修改
    //商家密码的修改 -- 正常
    //商家忘记密码
    //注销商家

}
